package com.ticket.system.mapper;

import java.util.List;
import com.ticket.system.domain.YuanchuRefundBackendOrderDetail;
import org.apache.ibatis.annotations.Param;

/**
 * 出票退款明细Mapper接口
 * 
 * @author ruoyi
 * @date 2024-02-19
 */
public interface YuanchuRefundBackendOrderDetailMapper 
{
    /**
     * 查询出票退款明细
     * 
     * @param id 出票退款明细主键
     * @return 出票退款明细
     */
    public YuanchuRefundBackendOrderDetail selectYuanchuRefundBackendOrderDetailById(Long id);

    /**
     * 查询出票退款明细列表
     * 
     * @param yuanchuRefundBackendOrderDetail 出票退款明细
     * @return 出票退款明细集合
     */
    public List<YuanchuRefundBackendOrderDetail> selectYuanchuRefundBackendOrderDetailList(YuanchuRefundBackendOrderDetail yuanchuRefundBackendOrderDetail);

    /**
     * 新增出票退款明细
     * 
     * @param yuanchuRefundBackendOrderDetail 出票退款明细
     * @return 结果
     */
    public int insertYuanchuRefundBackendOrderDetail(YuanchuRefundBackendOrderDetail yuanchuRefundBackendOrderDetail);

    /**
     * 修改出票退款明细
     * 
     * @param yuanchuRefundBackendOrderDetail 出票退款明细
     * @return 结果
     */
    public int updateYuanchuRefundBackendOrderDetail(YuanchuRefundBackendOrderDetail yuanchuRefundBackendOrderDetail);

    /**
     * 删除出票退款明细
     * 
     * @param id 出票退款明细主键
     * @return 结果
     */
    public int deleteYuanchuRefundBackendOrderDetailById(Long id);

    /**
     * 批量删除出票退款明细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYuanchuRefundBackendOrderDetailByIds(Long[] ids);


    public int insertBatch(@Param("array")List<YuanchuRefundBackendOrderDetail> orderDetails);
}
